import { $http } from "./index";

// 登录
export const loginApi = (data: {password:string;username:string}) => {
    return $http({
        method: "post",
        url:"/login",
        data
    });
}